package com.lggry.object;

public class Test2 {
    public static void main(String[] args) {

        Student stu1 = new Student();
        stu1.name = "李熙胤";
        stu1.Chinese = 92;
        stu1.Math = 89;
        stu1.English = 97;
        stu1.printInfo();
        stu1.printTotal();
        stu1.printAvg();

        Student stu2 = new Student();
        stu1.name = "赵楠";
        stu1.Chinese = 94;
        stu1.Math = 86;
        stu1.English = 80;
        stu1.printInfo();
        stu1.printTotal();
        stu1.printAvg();

    }
}
